package cn.walls1717.service;

import cn.walls1717.domain.Orders;

import java.util.List;

/**
 * @author CJ
 * @date 2020/8/5
 */
public interface OrdersService {

    /**
     * 查询所有订单
     * @return 所有订单
     * @throws Exception .
     */
    List<Orders> findAll(Integer page, Integer size) throws Exception;

    Orders findById(String ordersId) throws Exception;
}
